from django.conf.urls import url
from . import views

urlpatterns = [
    # 注册
    url('^register/$', views.RegisterView.as_view(),name='register'),
    url(r'^usernames/(?p<username>[a-zA-z0-9_-]{5,20})/count/$',views.UsernameCountView.as_view()),
    url(r'^mobiles/(?p<mpbile>1[345789]\d{9})/coun/$',views.MobileCountView.as_view()),
]